package entity;

public class Grade {
	private long id;
	private String gname;
	private java.util.List<Student> student = new java.util.ArrayList();
	private Subject subject;

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	@Override
	public String toString() {
		return "Grade [id=" + id + ", gname=" + gname + "]";
	}

	public java.util.List<Student> getStudent() {
		return student;
	}

	public void setStudent(java.util.List<Student> student) {
		this.student = student;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

}
